{include file="common/header" /}
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <div class="title">
                <h3>总共搜过结果{$count}条</h3>
            </div>
            {volist name='articleslist' id='article' empty="暂时没有数据"}
            <article class="excerpt excerpt-1">
                <a class="focus" href="article.html" title=""><img class="thumb" data-original="{$article.article_image}" src="{$article.article_image}" alt=""></a>
                <header><a class="cat" href="program">{$article.blogsorts.sort_name}<i></i></a>
                    <h2><a href="{:url('article/index')}?aid={$article.id}" title="">{$article.article_title}</a></h2>
                </header>
                <p class="meta">
                    <time class="time"><i class="glyphicon glyphicon-time"></i> {$article.article_date}</time>
                    <span class="views"><i class="glyphicon glyphicon-eye-open"></i> 共{$article.article_views}人围观</span> <a class="comment" href="article.html#comment"><i class="glyphicon glyphicon-comment"></i> {$article.totalcomments}</a></p>
                <p class="note">{$article.article_content|substr=0,200}... </p>
            </article>
            {/volist}
            <nav class="pagination">

            </nav>
        </div>
    </div>
    <aside class="sidebar">
        <div class="fixed">

            <div class="widget widget_search">
                <form class="navbar-form" action="{:url('/index/search')}" method="get">
                    <div class="input-group">
                        <input type="text" name="kw" class="form-control" size="35" placeholder="请输入关键字" maxlength="15" autocomplete="off">
                        <span class="input-group-btn">
              <button class="btn btn-default btn-search" name="search" type="submit">搜索</button>
            </span> </div>
                </form>
            </div>
        </div>
        <div class="widget widget_sentence">
            <h3>每日一句</h3>
            <div class="widget-sentence-content">
                <h4>{$nowdate}</h4>
                <p>Do not let what you cannot do interfere with what you can do.<br /> 别让你不能做的事妨碍到你能做的事。（John Wooden）
                </p>
            </div>
        </div>
        <div class="widget widget_hot">
            <h3>热门文章</h3>
            <ul>
                {volist name='hotlist' id='vo' empty="暂时没有数据"}
                <li><a href="{:url('article/index')}?aid={$vo.id}"><span class="thumbnail"><img class="thumb" data-original="{$vo.article_image}"
                src="{$vo.article_image}" alt=""></span><span class="text">{$vo.article_title}</span><span
              class="muted"><i class="glyphicon glyphicon-time"></i>
              {$vo.updatetime|date='Y-m-d
              H:i:s',###} </span><span class="muted"><i class="glyphicon glyphicon-eye-open"></i>
              {$vo.article_views}</span></a></li>
                {/volist}

            </ul>
        </div>
    </aside>
</section>
{include file="common/footer" /}